package com.example.yifei.ui.page.main.purchase

import androidx.lifecycle.ViewModel
import com.example.yifei.ui.page.widgets.TabTitle
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

/**
 * @Author: ZhuDaiHao
 * @Date: 2022/5/13
 * @Describe:
 */

@HiltViewModel
class PurchasedViewModel @Inject constructor() : ViewModel() {

    val tabTitleList = ArrayList<TabTitle>()

    init {
        tabTitleList.add(TabTitle(0, "全部"))
        tabTitleList.add(TabTitle(1, "待上传"))
        tabTitleList.add(TabTitle(2, "待确认"))
        tabTitleList.add(TabTitle(3, "待支用"))
        tabTitleList.add(TabTitle(4, "支付成功"))
        tabTitleList.add(TabTitle(5, "申请异常"))
    }
}